THE Xi EXAMPLEBOOK

    - A 'Learning by Playing' guide to Xi -

    We think the best way of showing the functionality that Xi offers is to first give examples intellegible to all rather than to stifle the user with loads of highly detailed information. For that reason this examplebook will give you a brief, compact introduction to Xi. Although the program's interpretativ principle makes it easy for beginners to learn the language by try and error a little experience in C is helpful for understandig the examples. Users with no practical knowledge in programming at all should nevertheless first consult a standard introductional book to C. For detailed information please use the Xi language reference.

    The examplebook is divided into four main parts. First a rough review of the Xi-language (C-experts may skip this part). Second an introduction in the capabilities of Xi to manipulate data with high level numerical functions. Third possibilities to visualize data with the program and fourth image processing with Xi.

    Programming Language

    • Getting started.
    • Declaration of Variables, simple Loops.
    • Defining Functions.
    • Arrays.
    • File I/O handling.

    Numerical Library

    • Complex numbers.
    • Linear Algebra.
    • Fit Algorithms.
    • Interpolation.
    • Root Finding and Minimizing of Functions.
    • Ordinary Differential Equations.
    • Fast Fourier Transformation.
    • Random Number Generators and Special Functions.
    • Integration and Differentiation.

    Two Dimensional Plots

    • Drawing of Functions Plots.
    • Drawing of Contour Plots.
    • Drawing of Velocity Fields.
    • Manipulating the Devices.
    • Java device.

    Image Processing

    • What is an Image?
    • Import and export of Images
    • View Images
    • Geometrical Transformations
    • Color Manipulations

    Three Dimensional Plots

    • Drawing of Curves
    • Drawing of Surfaces
    • Drawing of 3 dim. Velocity Fields

    Advanced Xi

    • Parallel Computing with Xi .
    • Life, Universe and Everything

    Rechts Index © 1995 by Bodo Junglas, Klaus Spanderen and Fabian Weis
    - Last revised: April 23 1996